<?php
ini_set("display_errors","on");
include_once "../librari/koneksi.php";
?>
	
<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>form lowongan</title>
<link rel="stylesheet" href="formstyle.css" type="text/css" />
<style type="text/css">
<!--
.style3 {
	font-size: 14px
}

.style7 {
	color: #334D55
}

.style9 {
	color: #006699
}

.style12 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #837551;
}

body {
	background-color: #DDFBF2;
}

.style26 {
	color: #F48022
}
-->
</style>
</head>
<!-- The structure of this file is exactly the same as 2col_rightNav.html;
     the only difference between the two is the stylesheet they use -->
<body>
	<div id="masthead">
		<h1 class="style26" id="siteName">LOWONGAN</h1>
		<div id="globalNav">
			<a href="#">Profile</a> | <a href="#">Kantor Pemasaran </a> | <a
				href="#">Layanan Cetak </a> | <a href="index.php">Hello Kids </a> |<a
				href="index.php"> Lowongan</a> | <a href="#">Resensi</a> | <a
				href="#">Multimedia</a> | <a href="#">Kontak</a>| <a href="#"> Iklan</a>
		</div>
	</div>
	<!-- end masthead -->
	<div id="content">
		<div id="breadCrumb"></div>
		<h2 class="style1 style26" id="pageName">FORM PENDAFTARAN</h2>
		<table>
		<tr>
		<td width="614">
		<div class="feature">
		<form id="form1" name="form1" method="post"
										action="cek_pendaftar.php">
			<p align="left" class="style3">
				<span class="style7">Silahkan mengisi form pendaftaran berikut
					dengan lengkap dan benar. </span>
			</p>
			<table width="614" border="2" cellpadding="0"
				cellspacing="2" >
				<tr>
					<td height="353"><table width="614"border="0"
							cellpadding="2" cellspacing="3">
							<tr>
								<!--<td width="26%"><div align="left" class="style8">No.ID Pelamar</div>
							  </td>-->
								<!--<td width="4%"><div align="center">
										<strong>:</strong>
							  </div></td>
								<td width="70%">-->
									
										<label> <input type="hidden" name="idPelamar"
											value="<?php 
				$sqlidPelamar='select max(idPelamar)+1 as nextVal from pelamar';
				
				$r=mysql_query($sqlidPelamar);
				//$info = mysql_fetch_array( $data )
				while ($row = mysql_fetch_array($r)) {
					$q=$row['nextVal'];
					
				}
				echo $q;
				?>" />
										</label>
							</td>
							</tr>
							<tr>
								<td><div align="left" class="style8">Tahun</div></td>
								<td><div align="center">
										<strong>:</strong>
									</div></td>
								<td><table width="99%" border="0" cellspacing="2"
										cellpadding="0">
										<tr>
											<td width="40%"><label> <input type="text" name="tahun" value="2012" />
											</label>
											</td>
											<td width="32%"><div align="right" class="style8">Gelombang :
												</div></td>
											<td width="20%"><label> <input type="text" name="gelombang" value="1"/>
											</label>
											</td>
										</tr>
									</table></td>
							</tr>
							<tr>
								<td height="28"><div align="left" class="style8">Nama Lengkap</div>
								</td>
								<td><div align="center">
										<strong>:</strong>
									</div></td>
								<td><label> <input type="text" name="nama" value="" />
								</label>
								</td>
							</tr>
							<tr>
								<td><div align="left" class="style8">Alamat</div></td>
								<td><div align="center">
										<strong>:</strong>
									</div></td>
								<td><label> <input type="text" name="alamat" value="" />
								</label>
								</td>
							</tr>
							<tr>
								<td><div align="left" class="style8">Email</div></td>
								<td><div align="center">
										<strong>:</strong>
									</div></td>
								<td><label> <input type="text" name="email" value="" />
								</label>
								</td>
							</tr>
							<tr>
								<td><div align="left" class="style8">Jenis Kelamin</div></td>
								<td><div align="center">
										<strong>:</strong>
									</div></td>
								<td>
									<p>
									
									 <?php
												$sql = "SELECT * FROM parameter where kode_group_parameter='kelamin' ";
												//$qry = @mysql_query($sql, $koneksi) or die ("Gagal query");
												$hasil=mysql_query($sql);
												while ($data =mysql_fetch_array($hasil)) {
													//if ($data[kode_paramter]==$dataUsia) {
													//	$cek="selected";
													//}
													//else {
													//	$cek="";
													///}
													echo " <input type='radio' name='kelamin' value=$data[kode_parameter]>$data[nama_parameter]</input><br>";
												}
												?>
										 
								</td>
							</tr>
							<tr>
								<td><div align="left" class="style8">Usia</div></td>
								<td><div align="center">
										<strong>:</strong>
									</div></td>
								<td>
									<table width="80%" border="0" cellspacing="2" cellpadding="0">
										<tr>
											<td><label> <select name="usia">
														<option value="NotUsia" selected="selected">[ Usia ]</option>
														
																								
														
         
									 <?php
												$minUsia=17;
												$maxUsia=35;
												while ($minUsia<$maxUsia) {
													
													echo " <option value=$minUsia>$minUsia</option><br>";
													$minUsia++;
												}
												?>
      
  </select> tahun
											</label></td>
											<td>&nbsp;</td>
										</tr>
									</table> <label></label>
								</td>
							</tr>
							<tr>
								<td valign="top"><div align="left" class="style8">Agama</div></td>
								<td valign="top"><div align="center">
										<strong>:</strong>
									</div></td>
								<td>
									<p>
									  <?php


												$sql = "SELECT * FROM parameter where kode_group_parameter='agama' ";
												//$qry = @mysql_query($sql, $koneksi) or die ("Gagal query");
												$hasil=mysql_query($sql);
												while ($data =mysql_fetch_array($hasil)) {
													//if ($data[kode_paramter]==$dataUsia) {
													//	$cek="selected";
													//}
													//else {
													//	$cek="";
													///}
													echo " <input type='radio' name='agama' value=$data[kode_parameter]>$data[nama_parameter]</input><br>";
												}
												?>
									
									
								
									</p>
								</td>
							</tr>
							<tr>
								<td><div align="left" class="style8">Pendidikan Terakhir</div></td>
								<td><div align="center">
										<strong>:</strong>
									</div></td>
								<td><label></label> <label></label> <label> <select name="pend">
											<option selected="selected">SMA</option>
											<option selected="selected">SMK</option>
											<option selected="selected">D3</option>
											<option selected="selected">S1</option>
											<option selected="selected">S2</option>
									</select>
								</label>
								</td>
							</tr>
							<tr>
								<td><div align="left" class="style8">Program Studi</div></td>
								<td><div align="center">
										<strong>:</strong>
									</div></td>
								<td><label> <select name="prodi">
											<option>Akuntansi</option>
											<option>Bahasa Inggris</option>
											<option>Desain Grafis</option>
											<option>Hukum</option>
											<option>Komunikasi</option>
											<option>Menejemen</option>
											<option>Psikologi</option>
											<option>Teknik Elektro</option>
											<option>Teknik Informatika</option>
											<option>Teknik Idustri</option>
											<option>Sastra</option>
											<option>Sekretaris</option>
									</select>
								</label>
								</td>
							</tr>
							<tr>
								<td><div align="left" class="style8">Kemampuan Penunjang</div></td>
								<td><div align="center">
										<strong>:</strong>
									</div></td>
								<td><label></label>
									<table width="394" border="0" cellspacing="0" cellpadding="0">
										<tr>
											<td width="140"><label> <textarea name="kemp"></textarea>
											</label></td>
											<td width="224">* kemampuan yang menunjang pekerjaan</td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td><div align="left" class="style8">Posisi yang diinginkan</div>
								</td>
								<td><div align="center">
										<strong>:</strong>
									</div></td>
								<td><label> <select name="posisi">
											<option>HRD</option>
											<option>Humas</option>
											<option>Keuangan</option>
											<option>Pemasaran</option>
											<option>Produksi</option>
											<option>Redaksi</option>
											<option>Sekreteriat</option>
											<option>SIM/Sistem Informasi Menejemen</option>
									</select>
								</label>
								</td>
							</tr>
							<tr>
								<td height="29"><div align="left" class="style8">No. KTP</div></td>
								<td><div align="center">
										<strong>:</strong>
									</div></td>
								<td><label> <input type="text" name="ktp" value="" />
								</label>
								</td>
							</tr>
							<tr>
								<td height="21"><div align="left" class="style8">No. Ijasah</div>
								</td>
								<td><div align="center">
										<strong>:</strong>
									</div></td>
								<td><label> <input type="text" name="ijasah" value="" />
								</label>
								</td>
							</tr>
						</table>
				  </td>
				</tr>
				
			</table>
			<table width="80%" border="0" cellspacing="2" cellpadding="0">
				<tr>
					<td>&nbsp;</td>
				</tr>
				<tr>
					<td><label></label>
						<table width="80%" border="0" cellspacing="2" cellpadding="0">
							<tr>
								<td width="62%"><span class="style9">Periksa kembali data Anda
										sebelum mengklik tombol daftar. </span></td>
								<td width="38%"><label> <input name="DAFTAR" type="submit"
										id="DAFTAR" value="DAFTAR" />
								</label> <label></label></td>
							</tr>
						</table>
					</td>
					
				</tr>
				
			</table>
		  </form>
		</div>
		</td>			
	</tr>
	</table>
		<div class="story"></div>
	</div>
	<!--end content -->
	<div id="navBar">
		<div id="search">
			<!--<form action="#">
      <label>Pencarian
      <input name="searchFor" type="text" size="10" />
      <input name="goButton" type="submit" value="cari" />
      </label>
    </form>-->
		</div>
		<div id="sectionLinks">
			<ul>
				<li><a href="index.php">LOWONGAN</a></li>
				<li></li>
				<li><a href="pelamar_diterima.php">PELAMAR DITERIMA </a></li>
			</ul>
		</div>
		<!--<div id="advert">
    <td class="boxBack2">&nbsp;</td>
  </div> -->
		<table width="164"  border="1" align="center"
			cellpadding="3" cellspacing="2" bgcolor="#FDFCF8">
			<tr>
				<td height="30"><span class="style11"> POLLING</span></td>
			</tr>
			<tr>
				<td height="10"><span class="style12"> Dari mana Anda mengenal buku
						Kanisius???</span></td>
			</tr>
			<tr>
				<td height="10">
					<p>
						<label> <input type="radio" name="RadioGroup1" value="radio" /> <span
							class="style25">Leaflet</span>
						</label> <br /> <label> <input type="radio" name="RadioGroup1"
							value="radio" /> <span class="style25">Iklan</span>
						</label> <span class="style9"><br /> <label> <input type="radio"
								name="RadioGroup1" value="radio" />
						</label> </span> <label><span class="style25">Website</span> </label>
						<span class="style9"> <br /> <label> <input type="radio"
								name="RadioGroup1" value="radio" />
						</label>
						</span> <label><span class="style25"> Katalog</span> </label> <span
							class="style9"><br /> <label> <input type="radio"
								name="RadioGroup1" value="radio" />
						</label> </span> <label><span class="style25"> Daftar Harga</span>
						</label> <span class="style9"> <label> </label> <br /> <label> <input
								type="radio" name="RadioGroup1" value="radio" />
						</label>
						</span> <label class="style25"> Resensi</label> <span
							class="style9"><br /> <label> <input type="radio"
								name="RadioGroup1" value="radio" />
						</label> </span> <label><span class="style25">Toko Buku </span> </label>
						<span class="style16"><br /> <label> <input type="radio"
								name="RadioGroup1" value="radio" />
						</label> <span class="style24"> <label class="style25">Pameran</label>
						</span> <br /> <label> <input type="radio" name="RadioGroup1"
								value="radio" />
						</label> </span><span class="style14"> <label class="style14">Teman</label>
						</span><span class="style16"> </span>
					</p>
					<table width="101%" border="1" cellspacing="2" cellpadding="3">
						<tr>
							<td width="50%"><label> <input type="submit" name="Submit2"
									value="vote" />
							</label></td>
							<td width="50%"><span class="style14"><a href="">Lihat Hasil</a>
							</span>
							</td>
						</tr>
					</table>
					
				</td>
			</tr>
			<tr>
				<td><div align="center">
						<table width="95%"  border="1" align="center"
							cellpadding="3" cellspacing="1" >
							<tbody>
								<tr bgcolor="#FDFCF8">
									<td height="72" align="left" class="tr_1"><span class="style24"><strong>KRC
												MEMBER<br /> (Bu Selvi)
										</strong> </span><br /> <a href="ymsgr:sendIM?krckanisius"><img
											src="image/online.gif" width="64" height="16" /> </a>
									</td>
								</tr>
								<tr bgcolor="#FFCCFF">
									<td height="60" align="left" bgcolor="#FDFCF8" class="tr_0"><span
										class="style7"><strong><span class="style24">MEMBER
													KANISIUSMEDIA</span><br /> <span class="style24">(Bu Budi
													Murni)</span> </strong> </span><br /> <a
										href="ymsgr:sendIM?kbs_kanisius"><img src="image/online.gif"
											width="64" height="16" /> </a>
									</td>
								</tr>
							</tbody>
						</table>
					</div>
			</td>
			</tr>
		</table>
		<p>
			<img src="image/081110_71018.gif" width="145" height="67" />
		</p>
		<p>
			<img src="image/080929_41557.gif" width="145" height="69" />
		</p>
		<p>
			<img src="image/070509_49114.gif" width="143" height="70" />
		</p>
		<p>&nbsp;</p>
		<p>&nbsp;</p>

	</div>
	<!--end navbar -->
	<div id="siteInfo">
		<a href="#">Profile</a> | <a href="#">Site Map</a> | <a href="#">Privacy
			Policy</a> | <a href="#">Contact Us</a> | &copy; 2012 MArgaretha
		Ajeng Purbo Resmi
	</div>
	<br />
</body>
</html>
